mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fixed crash with new thread-safety code (primarily on watermarks)
Actually added only showing "open recent set" if exists Removed a call to deprecated functions. git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@415 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -41,9 +41,9 @@ ChoiceThumbnailRequest::ChoiceThumbnailRequest(ValueViewer* cve, int id, bool fr
|
||||
, stylesheet(cve->viewer.stylesheet)
|
||||
, id(id)
|
||||
{
|
||||
ChoiceValueEditor& e = *(ChoiceValueEditor*)cve;
|
||||
ChoiceValueEditor e = *(ChoiceValueEditor*)cve;
|
||||
String name = cannocial_name_form(e.field().choices->choiceName(id));
|
||||
ScriptableImage& img = e.style().choice_images[name];
|
||||
ScriptableImage img = e.style().choice_images[name];
|
||||
isThreadSafe = img.threadSafe();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user