src/actions.cc

changeset 788
c9d1dad83ad0
parent 787
67cc5b47bbff
child 789
4b7306f52bb5
equal deleted inserted replaced
787:67cc5b47bbff 788:c9d1dad83ad0
894 cfg::bfcRedGreenView = false; 894 cfg::bfcRedGreenView = false;
895 895
896 updateActions(); 896 updateActions();
897 R()->refresh(); 897 R()->refresh();
898 } 898 }
899
900 DEFINE_ACTION (OpenSubfiles, 0)
901 {
902 for (LDObjectPtr obj : selection())
903 {
904 LDSubfilePtr ref = obj.dynamicCast<LDSubfile>();
905
906 if (ref == null || not ref->fileInfo()->isImplicit())
907 continue;
908
909 ref->fileInfo()->setImplicit (false);
910 }
911 }

mercurial