mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-11 05:07:00 -04:00
numeric statistics dimensions; minor tweaks of graph
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@150 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -54,9 +54,10 @@ void PackageList::showData(const String& pattern) {
|
||||
PackageP package = ::packages.openAny(f);
|
||||
// open image
|
||||
InputStreamP stream = package->openIconFile();
|
||||
Image img;
|
||||
Bitmap bmp;
|
||||
if (stream) {
|
||||
bmp = Bitmap(Image(*stream));
|
||||
if (stream && img.LoadFile(*stream)) {
|
||||
bmp = Bitmap(img);
|
||||
}
|
||||
// add to list
|
||||
packages.push_back(PackageData(package, bmp));
|
||||
|
||||
Reference in New Issue
Block a user