mirror of
https://github.com/gen2brain/cbconvert
synced 2026-06-30 09:11:54 +02:00
Add page spin to preview other pages
This commit is contained in:
@@ -10,6 +10,12 @@ func setActive() {
|
||||
opts := options()
|
||||
count := iup.GetHandle("Table").GetInt("NUMLIN")
|
||||
|
||||
if count > 0 && index != -1 {
|
||||
iup.GetHandle("PageBox").SetAttribute("VISIBLE", "YES")
|
||||
} else {
|
||||
iup.GetHandle("PageBox").SetAttribute("VISIBLE", "NO")
|
||||
}
|
||||
|
||||
if count == 0 {
|
||||
iup.GetHandle("Remove").SetAttribute("ACTIVE", "NO")
|
||||
iup.GetHandle("RemoveAll").SetAttribute("ACTIVE", "NO")
|
||||
|
||||
Reference in New Issue
Block a user