summaryrefslogtreecommitdiff
path: root/src/instancemanagerdialog.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-11-07 20:09:16 -0500
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-07 20:16:28 -0500
commitf9feb5fc5b4dc2834827862131035c2c8894f879 (patch)
treea92fb9cfceaef4f92a539ed0f66aea4c462e87e7 /src/instancemanagerdialog.h
parenta28aeb2b1871b5626dedfaedafcdb3102eaeea5d (diff)
show a confirmation before switching instances
Diffstat (limited to 'src/instancemanagerdialog.h')
-rw-r--r--src/instancemanagerdialog.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/instancemanagerdialog.h b/src/instancemanagerdialog.h
index 2641f716..86fe0dac 100644
--- a/src/instancemanagerdialog.h
+++ b/src/instancemanagerdialog.h
@@ -38,7 +38,6 @@ public:
//
void openSelectedInstance();
-
// renames the currently selected instance
//
void rename();
@@ -110,6 +109,10 @@ private:
//
void createNew();
+ // shows a confirmation to the user before switching
+ //
+ bool confirmSwitch(const Instance& to);
+
// returns the index of selected instance, NoSelection if none
//