Fix validation text doesn't update on mouse click selection

This commit is contained in:
Chocobo1
2022-07-21 22:13:53 +08:00
parent 6ab35512da
commit a9906e5d2a
2 changed files with 38 additions and 30 deletions

View File

@@ -130,8 +130,10 @@ namespace Private
void contextMenuEvent(QContextMenuEvent *event) override;
private:
static QString warningText(FileSystemPathValidator::TestResult result);
void showCompletionPopup();
void validateText();
static QString warningText(FileSystemPathValidator::TestResult result);
QFileSystemModel *m_completerModel = nullptr;
QCompleter *m_completer = nullptr;