diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-07 07:41:13 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-10-07 07:41:13 -0400 |
| commit | b4f5c17898317720662fc15a7828b68b2e81d950 (patch) | |
| tree | 5e18ea26e342f2b7b72f090c443fab226bad4ef5 /src/editexecutablesdialog.h | |
| parent | 94b40b328b7e455ad4799b98c2b00cd5d96f86f3 (diff) | |
disallow empty titles
Diffstat (limited to 'src/editexecutablesdialog.h')
| -rw-r--r-- | src/editexecutablesdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/editexecutablesdialog.h b/src/editexecutablesdialog.h index 494f0651..9e39b115 100644 --- a/src/editexecutablesdialog.h +++ b/src/editexecutablesdialog.h @@ -169,6 +169,7 @@ private slots: void on_down_clicked();
void on_title_textChanged(const QString& s);
+ void on_title_editingFinished();
void on_overwriteSteamAppID_toggled(bool checked);
void on_createFilesInMod_toggled(bool checked);
void on_forceLoadLibraries_toggled(bool checked);
@@ -196,6 +197,10 @@ private: // forced libraries set in the dialog
ForcedLibraries m_forcedLibraries;
+ // remembers the last executable title that made sense, reverts to this when
+ // the widget loses focus if it's empty
+ QString m_lastGoodTitle;
+
// true when the change events being triggered are in response to loading
// the executable's data into the UI, not from a user change
bool m_settingUI;
|
