Gui: Add Std_ReloadStyleSheet command
This adds a command that will reload currently active stylesheet - a must have for stylesheet developers
This commit is contained in:
committed by
Chris Hennes
parent
ba9240a3f2
commit
b231bbb0ca
@@ -2188,6 +2188,7 @@ void Application::setStyleSheet(const QString& qssFile, bool tiledBackground)
|
||||
}
|
||||
|
||||
mw->setProperty("fc_currentStyleSheet", qssFile);
|
||||
mw->setProperty("fc_tiledBackground", tiledBackground);
|
||||
|
||||
if (!qssFile.isEmpty()) {
|
||||
// Search for stylesheet in user-defined search paths.
|
||||
|
||||
Reference in New Issue
Block a user