#ifndef FEATHER_COMPONENTS_H
#define FEATHER_COMPONENTS_H
+#include <QCompleter>
#include <QPushButton>
#include <QHBoxLayout>
#include <QDialog>
}
};
+class SpaceCompleter : public QCompleter {
+protected:
+ QString pathFromIndex(const QModelIndex &index) const override
+ {
+ QString completion = QCompleter::pathFromIndex(index);
+ return completion + ' ';
+ }
+};
+
#endif //FEATHER_COMPONENTS_H
m_fields->showSetRestoreHeightPage = check_overrideCreationDate.isChecked();
m_fields->showSetSeedPassphrasePage = check_setSeedPasshprase.isChecked();
m_fields->showSetSubaddressLookaheadPage = check_subaddressLookahead.isChecked();
-}
\ No newline at end of file
+}
#include <QCompleter>
#include <QStringListModel>
+#include "components.h"
+
namespace Ui {
class PageWalletRestoreSeed;
}
int length;
QStringList words;
QStringListModel completerModel;
- QCompleter completer;
+ SpaceCompleter completer;
Seed::Type type;
};