Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2018-05-13 16:46:48 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-06-06 21:56:34 +0300
commit898a530ba57c479a88f608bd401b328800c6b314 (patch)
tree52377db7146bbd61056be391704d3d5551b37385 /src/gui/sharelinkwidget.h
parent04930768eef0f4896a87dc68febf36883f97f5f8 (diff)
ShareLink: Preserve password when unrelated ui changes #6512
Diffstat (limited to 'src/gui/sharelinkwidget.h')
-rw-r--r--src/gui/sharelinkwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/sharelinkwidget.h b/src/gui/sharelinkwidget.h
index 30188a34b..365c596b7 100644
--- a/src/gui/sharelinkwidget.h
+++ b/src/gui/sharelinkwidget.h
@@ -122,6 +122,11 @@ private:
bool _expiryRequired;
bool _namesSupported;
+ // For maintaining the selection and temporary ui state
+ // when getShares() finishes, but the selection didn't
+ // change.
+ QString _selectedShareId;
+
// When a new share is created, we want to select it
// the next time getShares() finishes. This stores its id.
QString _newShareOverrideSelectionId;