Fix printable tooltip on rows without a printable checkbox (#17076)

(cherry picked from commit 49770913a5)
This commit is contained in:
Kiss Lorand authored and Hanif Koh committed 2026-11-14 09:39:44 +08:00
1 parent 6b033d709b
commit 3f683895cd
1 file changed
+5 -3
+5 -3
View File
@@ -697,12 +697,14 @@ void ObjectList::set_tooltip_for_item(const wxPoint& pt)
tooltip = _(L("Click the icon to reset all settings of the object"));
#endif //__WXMSW__
}
else if (col->GetModelColumn() == (unsigned int)colPrint)
else if (col->GetModelColumn() == (unsigned int)colPrint) {
if (node->IsPrintable() != piUndef)
#ifdef __WXOSX__
tooltip = _(L("Right click the icon to drop the object printable property"));
tooltip = _(L("Right click the icon to drop the object printable property"));
#else
tooltip = _(L("Click the icon to toggle printable properties of the object"));
tooltip = _(L("Click the icon to toggle printable properties of the object"));
#endif //__WXMSW__
}
// BBS
else if (col->GetModelColumn() == (unsigned int)colSupportPaint) {
if (node->HasSupportPainting())