summaryrefslogtreecommitdiffstats
path: root/Documentation/user-manual.txt
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-12-05 14:38:12 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-05 08:04:55 -0800
commit26d2cc0fef22dbe9cdf69e16c3bf26d0d9b5ed5d (patch)
treed24b201d6951480b7a645054fc724965230b474b /Documentation/user-manual.txt
parent94f85bbef9e0b4079f17f6d995c3af381f3784de (diff)
downloadsubsurface-26d2cc0fef22dbe9cdf69e16c3bf26d0d9b5ed5d.tar.gz
MainWindow: fix setTitle() calls
setTitle() works with an enum that can be fed different values, and other we may have eventually. For example not only "app title", or "app title: filename", but others, like dates, certain app status and so on. Patch fixes an issue where deleting a single dive in the divelist resets the title to "Subsurface" only. clearUpEmpty() should only call setTitle(MWTF_DEFAULT) if no file is currently open. It also adds a safe-guard to revert back to MWTF_DEFAULT if no file is open but setTitle is called with MWTF_FILENAME. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/user-manual.txt')
0 files changed, 0 insertions, 0 deletions