1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-12 08:14:26 +00:00

Linux specific: Fixed ObjectDataViewModel::GetColumnType()

When "string" type was returned, strange editing TextControl was appeared.
+ Added check of the selection for ObjectList::toggle_printable_state() function
This commit is contained in:
YuSanka
2021-05-10 17:57:17 +02:00
parent 426d2cd725
commit b87c03fc09
3 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -316,7 +316,7 @@ public:
// helper methods to change the model
unsigned int GetColumnCount() const override { return 3;}
wxString GetColumnType(unsigned int col) const override{ return wxT("string"); }
wxString GetColumnType(unsigned int col) const override;
void GetValue( wxVariant &variant,
const wxDataViewItem &item,