diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 11:05:31 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-02 11:05:31 -0400 |
| commit | c6e80f1a5eed4a57663e7fc55c2727258eaad552 (patch) | |
| tree | 2c4633f4dc3b912a696d36a52329059fe982321b /src/modinfodialogtab.cpp | |
| parent | 16b6e772a7ae1561ba87c6d76d001b19635761cd (diff) | |
focus tabs when they need a confirmation to close
dialog did not handle closeEvent() at all, it only checked the close button
bunch of comments
Diffstat (limited to 'src/modinfodialogtab.cpp')
| -rw-r--r-- | src/modinfodialogtab.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/modinfodialogtab.cpp b/src/modinfodialogtab.cpp index f5eeeed1..0468b405 100644 --- a/src/modinfodialogtab.cpp +++ b/src/modinfodialogtab.cpp @@ -137,6 +137,11 @@ void ModInfoDialogTab::setHasData(bool b) } } +void ModInfoDialogTab::setFocus() +{ + emit wantsFocus(); +} + NotesTab::NotesTab( OrganizerCore& oc, PluginContainer& plugin, |
