-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleaned up CustomTypesEditor and made it auto-save values
When adding, removing or changing values, the custom types are now automatically saved. The explicit "Load" and "Save" buttons have been removed, as well as the "Debug" button. Also switched it from using a QTableWidget to a QTreeView and a model derived from QStringListModel for the values. Empty values are no longer automatically removed and new values get a default text.
- Loading branch information
Showing
8 changed files
with
106 additions
and
240 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/* | ||
* properties.h | ||
* Copyright 2010, Thorbjørn Lindeijer <[email protected]> | ||
* Copyright 2010-2021, Thorbjørn Lindeijer <[email protected]> | ||
* | ||
* This file is part of libtiled. | ||
* | ||
|
Oops, something went wrong.