mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 06:17:34 +00:00
ThemeEditor: Update theme path on theme load
Prior to this change, the 'Save' action was saving a file to the startup path (or just showed a File Picker dialog) if a file has been opened by the Open action or by drag-n-dropping a file to the program.
This commit is contained in:
parent
be7ae76829
commit
4e1a794abe
3 changed files with 8 additions and 0 deletions
|
@ -23,6 +23,8 @@ public:
|
|||
void set_preview_palette(const Gfx::Palette&);
|
||||
void set_theme_from_file(String const& path, int fd);
|
||||
|
||||
Function<void(String const&)> on_theme_load_from_file;
|
||||
|
||||
private:
|
||||
explicit PreviewWidget(const Gfx::Palette&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue