mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 15:35:51 +00:00
Upload saved theme to the cloud.
This commit is contained in:
@@ -43,7 +43,7 @@ void Controller::firstShow() {
|
||||
|
||||
void Controller::checkThemeEditor() {
|
||||
if (Window::Theme::Background()->isEditingTheme()) {
|
||||
_widget.showRightColumn(Box<Window::Theme::Editor>());
|
||||
showRightColumn(Box<Window::Theme::Editor>(this));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -74,6 +74,10 @@ void Controller::showBox(
|
||||
_widget.ui_showBox(std::move(content), options, animated);
|
||||
}
|
||||
|
||||
void Controller::showRightColumn(object_ptr<TWidget> widget) {
|
||||
_widget.showRightColumn(std::move(widget));
|
||||
}
|
||||
|
||||
void Controller::activate() {
|
||||
_widget.activate();
|
||||
}
|
||||
|
Reference in New Issue
Block a user