mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
desktop: update date and time fields if user changes format
This was more painful than expected, because we get the "preferences" changed signal too early when the user switches to system format. The correct format is set by the preferences-widget, not the preferences subsystem. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
fb1cf8d0e5
commit
00ff63f186
3 changed files with 15 additions and 2 deletions
|
@ -66,6 +66,7 @@ slots:
|
|||
void displayMessage(QString str);
|
||||
void enableEdition();
|
||||
void escDetected(void);
|
||||
void updateDateTimeFields();
|
||||
private:
|
||||
Ui::MainTab ui;
|
||||
bool editMode;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue